package com.itheima.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("hm_questions_options")
public class Option implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    //  问题ID
    @TableField("questionsID")
    private Integer questionsID;
    //  代码
    private String code;
    // 标题
    private String title;
    //  图片
    private String img;
    //  是否正确答案
    @TableField("isRight")
    private Boolean isRight;
}
